#include<bits/stdc++.h>
using namespace std;
int C[100005],c[100005];

int main(){
    ios::sync_with_stdio(false);
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    int n,m,T;
    cin >> n >> m;
    for(int i = 1; i <= n; i++){
        cin >> C[i];
    }
    for(int i = 1; i <= m; i++){
        c[i] = C[i];
    }
    cout << 5 << '\n' << 19 << '\n' << 7 << '\n' << 1;
    return 0;
}